home *** CD-ROM | disk | FTP | other *** search
-
- /* Multiplier.m By Jeff Froyd. Generated by Interface Builder */
-
- #import <appkit/TextField.h>
- #import "Example3.h"
-
- @implementation Example3
-
- - multiplierChanged:sender
- {
- multiplier = [sender doubleValue];
- [productField setDoubleValue:(multiplicand * multiplier)];
- return self;
- }
-
- - multiplicandChanged:sender
- {
- multiplicand = [sender doubleValue];
- [productField setDoubleValue:(multiplicand * multiplier)];
- return self;
- }
-
-
- @end
-